package org.jeecg.modules.pbmp.reimbursementInfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.pbmp.reimbursementInfo.entity.ReimbursementInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.pbmp.trafficStay.entity.TrafficStay;
import org.jeecg.modules.pbmp.travelAllowance.entity.TravelAllowance;

import java.util.List;

/**
 * @Description: 报销单管理
 * @Author: jeecg-boot
 * @Date:   2021-01-30
 * @Version: V1.0
 */
public interface IReimbursementInfoService extends IService<ReimbursementInfo> {

    Page<ReimbursementInfo> pageReimbursementList(Page<ReimbursementInfo> page, ReimbursementInfo reimbursementInfo);

    public void saveMain(ReimbursementInfo reimbursementInfo, List<TrafficStay> trafficStayList,List<TravelAllowance> travelAllowanceList);

    public void updateMain(ReimbursementInfo reimbursementInfo, List<TrafficStay> trafficStayList,List<TravelAllowance> travelAllowanceList);

    public void deleteMain(String id);
}
